package com.tencreat.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum TrueFalseType {
    TRUE(1, "是"),
    FALSE(0, "否");

    TrueFalseType(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @EnumValue
    private final int code;
    private final String value;

}
